package bavaria.hightech.conditions;

import bavaria.hightech.banking.Money;

public class GiroConditions extends Conditions{
	
	private static int debitInterest;
	private static int creditInterest;
	private Money overdrawLimit;
	private int creditRating;
	
	@SuppressWarnings("static-access")
	public GiroConditions(int debitInterest, int creditInterest, Money overdrawLimit, int creditRating) {
		this.debitInterest = debitInterest;
		this.creditInterest = creditInterest;
		this.overdrawLimit = overdrawLimit;
		this.creditRating = creditRating;
	}

	public int getDebitInterest() {
		return debitInterest;
	}

	public int getCreditInterest() {
		return creditInterest;
	}

	public Money getgetOverdrawLimit() {
		return overdrawLimit;
	}

	public int getCreditRating() {
		return creditRating;
	}

	public static void setDebitInterest(int debitInterest) {
		GiroConditions.debitInterest = debitInterest;
	}

	public static void setCreditInterest(int creditInterest) {
		GiroConditions.creditInterest = creditInterest;
	}
	
	public String toString(){
		return "(sollZins: " +debitInterest +",habenZins: " +creditInterest +",ueberziehungsrahmen: " +overdrawLimit +",bonitaet: " +creditRating +")";
	}
	
	
	

}
